﻿namespace CMS.Model
{
    public abstract class BaseModel
    {
        public string Pk { get; set; }
        public string Del { get; set; } = "N";
        [MyForeign(typeof(UserModel),nameof(UserModel.UserName))]
        public string Creator { get; set; }
        public string CreateTime { get; set; }
        [MyForeign(typeof(UserModel), nameof(UserModel.UserName))]

        public string Modifier { get; set; }
        public string ModifyTime { get; set; }
        public int Flag { get; set; } = 0;
    }
}
